import axios from 'axios'

/**
 * 获取出入库日志信息
 *
 * @param {String} type 出入库类型
 * @param {Number}} page
 * @param {Number} size
 */
export const getLogList = (type = 'IN', page = 1, size = 5) => {
  return axios.get('http://localhost:3000/inventory-log/list', {
    params: { type, page, size }
  })
}
